home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Touch Games Collection
/
Touch Games 1.zip
/
Touch Games 1
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1999-12-15
|
875b
|
44 lines
@echo off
cls
if "%1" == "" GOTO USAGE
if not exist %1\Autorun.inf GOTO NOT_EXIST
if not exist %1\Tgames.exe GOTO NOT_EXIST
if not exist %1\Tgames.cfg GOTO NOT_EXIST
if not exist %1\Icono.ico GOTO NOT_EXIST
if not exist %1\Prices.lst GOTO NOT_EXIST
:INSTALL
cls
echo Instalando.....
md C:\TGames
xcopy /s %1 C:\TGames
copy a:\data\*.exe C:\TGames
copy a:\data\*.qst C:\TGames\Questions
c:
cd TGames
attrib -r -h /s *.*
deltree /y records
del autorun.inf
TGames
goto END
:NOT_EXIST
cls
echo Error: La unidad no contine el juego "Touch games"
goto END
:USAGE
cls
echo Uso: Install [letra de unidad cd-rom:]
echo por ejemplo: Install d:
echo .....
echo NOTA: La instalacion copiara el juego en la carpeta C:\TGames
echo Necesitara 185 Mbytes de espacio libre en tu disco duro
echo .....
goto END
:END
@echo on